# -*- encoding:utf-8 -*-

from taobao.model import TaobaoModel

class Location(TaobaoModel):
    """ Location data structure
            http://wiki.open.taobao.com/index.php/Location
    """

    # 邮政编码
    zip = str()
    # 详细地址 
    address = str()
    # 所在城市（中文名称）
    city = str()
    # 所在省份（中文名称） 
    state = str()
    # 国家名称 
    country = str()
    # 区/县（只适用于物流API） 
    district = str()

    def getZip(self):
        return self.zip
    def setZip(self, zip):
        self.zip = zip

    def getAddress(self):
        return self.address
    def setAddress(self, address):
        self.address = address

    def getCity(self):
        return self.city
    def setCify(self, city):
        self.city = city

    def getState(self):
        return self.state
    def setState(self, state):
        self.state = state

    def getCountry(self):
        return self.country
    def setCountry(self, country):
        self.country = country

    def getDistrict(self):
        return self.district
    def setDistrict(self, district):
        self.district = district

